function paths = loadPaths(filename)

fileid = fopen(filename, 'rt');
textline = fgetl(fileid);
count = 1;
while textline ~= -1
    lines{count} = textline;
    textline = fgetl(fileid);
    count = count + 1;
end

paths = cell(1, length(lines));
for i = 1:length(lines)
    R = lines{i};
    count = 1;
    
    [T R] = strtok(R);
    while length(T) > 0
        paths{i}(count) = str2num(T);
        count = count+1;
        [T R] = strtok(R);
    end
end